<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>贪食蛇</title>
</head>
<body>
<!--创建游戏的主容器-->
<div class="main">
    <div class="stage">
      <div class="snake" id="snake">
        <div></div>
      </div>

      <div class="food" id="food">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
    </div>

    <div class="score-panel">
      <div>
        SCORE:
        <span class="score" id="score">1</span>
      </div>
      <div>
        LEVEL:
        <span class="level" id="level">1</span>
      </div>
    </div>
</div>
</body>
</html>